//
//  YHYShareView.m
//  Home
//
//  Created by 杨泓晔 on 16/7/3.
//  Copyright © 2016年 LanJue. All rights reserved.
//

#import "YHYShareView.h"
#import "WUExpertFindViewCell.h"
@interface YHYShareView ()<UITableViewDataSource,UITableViewDelegate>
@property (nonatomic, strong)UITableView *myTableView;
@end

@implementation YHYShareView
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self creatView];
    }
    return self;
}
- (void)creatView{
    
    
    UIImageView *imageV = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
    [self addSubview:imageV];
    imageV.image = [UIImage imageNamed:@"shareOne"];
    
    
}
//    _myTableView = [[UITableView alloc]initWithFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
//    [self addSubview:_myTableView];
//    _myTableView.delegate = self;
//    _myTableView.dataSource = self;
//    [_myTableView registerClass:[WUExpertFindViewCell class] forCellReuseIdentifier:@"WUExpertFindViewCell"];
//}
//
//
//- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
//    return 3;
//}
//- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
//    WUExpertFindViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"WUExpertFindViewCell"];
//    cell.selectionStyle = UITableViewCellSelectionStyleNone;
//    return cell;
//}
//- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
//    return 250 * AUTO_HEIGHT;
//}
//

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
